/*
 * @Description: 工作核查打分
 * @Author: oooh
 * @Date: 2024-04-25 17:23:53
 * @LastEditors: oooh
 * @LastEditTime: 2024-05-07 11:21:41
 * @FilePath: \Civil_Servant_Performance_PC\src\api\work-assessment\index.js
 */
import request from '@/utils/request'

// 重点工作核查打分
export function keyWorkAssessment(data) {
  return request({
    url: '/api/deptWorkPlans/results/supervisions',
    method: 'patch',
    data: data
  })
}

// 中心工作核查打分
export function centerWorkAssessment(data) {
  return request({
    url: '/api/deptWorkPlans/centerWorkScores/results/supervisions',
    method: 'patch',
    data: data
  })
}

// 中心工作核查列表查询
export function centerWorkAssessmentList(query) {
  return request({
    url: '/api/deptWorkPlans/centerWorkScores',
    method: 'get',
    params: query
  })
}

// 干部工作核查打分
export function cadreWorkAssessment(data) {
  return request({
    url: '/api/personalWorkPlans/results/supervisions',
    method: 'patch',
    data: data
  })
}
